#include "fxcc/imgui/Editor.h"
#include "fxcc/core/graph/common/AnimationNode.h"

using namespace fxcc::imgui;
using namespace fxcc::graph::common;

template<>
bool Editor::Edit<AnimationNode>(const std::string& l, AnimationNode& e)
{
    bool flag{0};

    flag |= EditInst<fxcc::graph::common::AnimationMap >("m_AnimationMap", e.m_AnimationMap);
    //flag |= EditInst<fxcc::graph::common::AnimationNode::AdditonConfig>("m_AdditionConfig", e.m_AdditionConfig);
	flag |= DragInst<float>("m_AnimAxis", e.m_AnimAxis);
    flag |= CheckBoxInst<bool>("m_RootMotion", e.m_RootMotion);

    return flag;
}